<div class="cil__detail-rest-info--label">{{'GENERAL.TERMINAL.TRADE.CHANNEL_INFO' | i18n}}</div>

<nz-spin *ngIf="loading"></nz-spin>
<div
  class="mb-sm"
  *ngFor="let column of tradeColumns"
>
  <app-info-row
    [columns]="column"
  ></app-info-row>
</div>

<ng-container *ngIf="!loading && tradeColumns.length === 0">
  <div class="cil__no-trades">
    <p style="text-align: center">{{'GENERAL.INFO.NONE' | i18n}}</p>
  </div>
</ng-container>

<!-- 功能删减
<div class="cil__detail-rest-info--label">终端功能</div>

<app-info-row
  [columns]="funcColumns"
  [ifEdit]="funcIsEdit"
></app-info-row>
-->

<div class="cil__scroll-div"></div>

<ng-template #isFixedTpl>
  <nz-switch [(ngModel)]="copyTerminal.qr.isAmountFixed" (ngModelChange)="isAmountFixedChange($event)"></nz-switch>
</ng-template>

<ng-template #fixedInputTpl>
  <input [(ngModel)]="copyTerminal.qr.fixedAmt" nz-input/>
</ng-template>

<ng-template #operate>
  <app-rest-edit
    [editing]="funcIsEdit"
    (edit)="edit()"
    (cancel)="cancel()"
    (submit)="submit()"
  ></app-rest-edit>
</ng-template>
